package com.ccys.app.controller;

import com.ccys.app.service.DoctorListService;
import com.ccys.common.vo.ResponseResultApp;
import com.ccys.db.vo.app.doctorList.GetDoctorDetailMakeVo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: WhiteCoat
 * @description: 病人查看可选医生集合接口
 * @author: ZhangJingCan
 * @create: 2024-01-19 13:31
 **/
@RestController
@Api(tags = "病人查看可选医生集合接口")
@RequestMapping("doctorList")
public class DoctorListController {

    @Autowired
    private DoctorListService doctorListService;

    @ApiOperation("根据医生id获取医生详情")
    @GetMapping(value = "/GetDoctorDetail")
    public ResponseResultApp<GetDoctorDetailMakeVo> getDoctorDetail(String doctor_id) {
        return doctorListService.getDoctorDetail(doctor_id);
    }


}
